import {useNavigate} from 'react-router-dom'
export default ()=>{
    const nav=useNavigate()
    return (<>
        <h1>404</h1>
        <div>抱歉，你访问的页面不存在或仍在开发中</div>
        <button onClick={()=>nav("/")}>带我会主页</button>
    </>)
}